<#assign itemList=[
{"title":"","name":"id","value":"${id}","elements":"input","type":"hidden","eleList":[],"verify":"required"},
{"title":"ID","name":"title","value":"${id!''}","elements":"input","type":"text","eleList":[],"verify":"required"},
{"title":"名称","name":"title","value":"${name!''}","elements":"input","type":"text","eleList":[],"verify":"required"},
{"title":"讲师","name":"teacher","value":"${method!''}","elements":"input","type":"text","eleList":[],"verify":""},
{"title":"房间ID","name":"roomId","value":"${teacher!''}","elements":"input","type":"text","eleList":[],"verify":""},
{"title":"价格","name":"price","value":"0","elements":"input","type":"text","eleList":[],"verify":"integer"}
]/>
<#import "parentedit.ftl" as edit>
<@edit.edit url="" itemList=itemList>

<#if method == 'edit'>
<script>
$(function(){
	$("input[name='price']").parent().parent().hide();
});
</script>
</#if>
</@edit.edit>